package com.domino.shared;

import java.io.Serializable;

import com.domino.shared.model.Color;
import com.domino.shared.session.SessionId;

public class SessionStateResponseNewSession extends SessionStateResponse
		implements Serializable {
	
	private SessionId sessionId;
	private Player opponent;
	private Color color;
	
	private SessionStateResponseNewSession() {
		this(null,null,null);
	}
	
	public SessionStateResponseNewSession(SessionId sessionId, Player opponent, Color color) {
		super(WAIT_FOR_SERVER);
		this.sessionId = sessionId;
		this.opponent = opponent;
		this.color=color;
	}

	public SessionId getSessionId() {
		return sessionId;
	}

	public Player getOpponent() {
		return opponent;
	}

	public Color getColor() {
		return color;
	}
	
	
	

}
